package com.yunzong.iot.http;


import com.yunzong.iot.auth.Auth;
import com.yunzong.iot.http.request.RequestAuth;
import com.yunzong.iot.http.response.ResponseBase;




import retrofit2.http.Body;


import retrofit2.http.POST;
import rx.Observable;


/**
 * Created by lkf on 2017/1/5.
 * 被观察者，需要观察的接口
 *
 * @author 克林
 */

public interface Api {

    /**
     * 认证
     *
     * @param requestAuth
     * @return
     */
    @POST("device/app/login")
    Observable<ResponseBase<String>> doAuth(@Body String requestAuth);
}
